package com.example.jinzproduct.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.example.commons.entity.ExaminationResultsDO;
import com.example.jinzproduct.entity.vo.ExaminationResultVo;
import com.example.jinzproduct.entity.vo.MyResultsVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 
 * <pre>
 * 考试成绩
 * </pre>
 * <small> 2020-02-24 21:00:12 | lance</small>
 */
public interface ExaminationResultsDao extends BaseMapper<ExaminationResultsDO> {

    List<MyResultsVo> selByUserId(Page<MyResultsVo> page, Map map);

    List<ExaminationResultsDO> findList(Page<ExaminationResultsDO> page, Map map);

    List<ExaminationResultsDO> findLists(Page<ExaminationResultsDO> page , Map map);

    List<ExaminationResultsDO> findPageList(Page<ExaminationResultsDO> page, Map map);

    //查询全部列表
    List<Map>  stusinUpListX();

    //修改成阿里云OSS路径
    int updatestusinUpX(@Param("photo") String photo, @Param("id") String id);

    List<ExaminationResultsDO> findPageListType(Page<ExaminationResultsDO> page, Map map);

    List<ExaminationResultsDO> findPageListType2(Page<ExaminationResultsDO> page, Map map);

    List<ExaminationResultVo> selectByStu(Map map);
}
